<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="loadings loading">正在加载。。。</div>
</body>
<style>
    /* 字体颜色 */
    .loadings {
        color: skyblue;
        font-size: 30px;
        line-height: 100px;
        text-align: center;
    }

    .loadings.loading::before {
        content: '';
        width: 40px;
        height: 40px;
        margin-top: -10px;
        margin-right: 10px;
        display: inline-block;
        vertical-align: middle;
        animation: loading 1s steps(12) infinite;
        background: transparent url() no-repeat;
        background-size: 100%
    }
    /* 动画 */
    @keyframes loading {
        form{
            transform: rotate(0deg);
        }
        to{
            transform: rotate(-360deg);
        }
    }
</style>

</html>